using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("FriendListChatIcon")]
	public class FriendListChatIcon : MonoBehaviour
	{
		public BnetPlayer m_player => method_3<BnetPlayer>("m_player");

		public FriendListChatIcon(IntPtr address, string className)
			: base(address, className)
		{
		}

		public FriendListChatIcon(IntPtr address)
			: this(address, "FriendListChatIcon")
		{
		}

		public BnetPlayer GetPlayer()
		{
			return method_14<BnetPlayer>("GetPlayer", Array.Empty<object>());
		}

		public bool SetPlayer(BnetPlayer player)
		{
			return method_11<bool>("SetPlayer", new object[1] { player });
		}

		public void UpdateIcon()
		{
			method_8("UpdateIcon");
		}
	}
}
